package com.dwxt.cdms.entity.witheart;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class ReportCharts {

    private List<ReportBarChart> reportBarChart;
    private List<ReportTrendChart> reportTrendChart;
    private List<?> reportDaysTrentChart;

    @NoArgsConstructor
    @Data
    public static class ReportBarChart {
        private Integer chartTypeId;
        private String title;
        private String comments;
        private List<Items> items;
        private String extColumn1;
        private String extColumn2;
        private String extColumn3;

        @NoArgsConstructor
        @Data
        public static class Items {
            private Long endtime;
            private Long starttime;
            private List<?> subitems;
        }
    }

    @NoArgsConstructor
    @Data
    public static class ReportTrendChart {
        private Integer type;
        private Integer chartTypeId;
        private String title;
        private String comments;
        private Integer maxAlert;
        private Integer minAlert;
        private Integer normalStart;
        private Integer normalEnd;
        private String extColumn1;
        private String extColumn2;
        private String extColumn3;
        private List<Integer> xDataValue;
        private List<Long> xDataTime;
    }
}
